forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] main from open-telemetry:main #47
Open
pull
wants to merge
1,000
commits into
AmadeusITGroup:main
Choose a base branch
from
open-telemetry:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+156,845
−70,869
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Description Remove the Elasticsearch exporter's `dedup` config. This config setting has been deprecated for 6 months and can be safely removed now. #### Link to tracking issue Follow up to #33773 #### Testing N/A. The config was already a no-op, this just removes the config setting. #### Documentation Removed mention of the config from README.
#### Description The Config struct has a Validate method but it is only used in tests. Ensure we validate the configuration when creating the processor.
…37189) Currently, a "not sampled" decision for a trace is only cached when late spans arrive for it. Whereas a "sampled" decision for a trace is immediately cached. This pull request immediately caches "not sampled" decisions, late spans (or reprocessed spans) for "not sampled" traces now take fewer resources to process. Currently, traces are stored in memory until `num_traces` is reached, then the oldest is deleted to make room. This is a clever mechanism to limit the size* of the internal map, however, trace span counts and their contents likely vary considerably. This pull request doesn't touch this mechanism, but it does delete traces from the internal map after they are released and are added to a decision cache. --------- Signed-off-by: Sean Porter <[email protected]>
Signed-off-by: Bogdan Drutu <[email protected]>
#### Description Fix spelling in exporter/ #37128 (review) #### Link to tracking issue * #37128 --------- Signed-off-by: Josh Soref <[email protected]>
#### Description Fix flaky TestExporterLogs test <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes #37286 <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.-->
#### Description This MR does the following: * Re adds the ability to allow multiple workers in this exporter due to: 1. Out of Order is no longer an issue now that it is fully supported in Prometheus. Nonetheless, I am setting the default worker as 1 to avoid OoO in Vanilla Prometheus Settings. 2. With a single worker, and for a collector with a large load, this becomes "blocking". Example: Imagine a scenario in which a collector is collecting lots of targets, and with a slow prometheus/unstable network, a single worker can easily bottleneck the off-shipping if retries are enabled. #### Link to tracking issue N/A #### Testing #### #### Documentation docs auto-updated. Readme.md is now correct in its explanation of the `num_consumers since its no longer hard-coded at 1. Additional docs added.
#36419) …e name logic <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Datadog associates two name fields with each span: "resource name" and "operation name." Resource name is analogous to `span.name` in OTel, but operation name has no 1:1 correspondence with any OTel fields. (Read more about what operation name respresents here: https://docs.datadoghq.com/tracing/guide/configuring-primary-operation/) Previously, the datadog exporter [would compute operation name as `{scope name}.{span kind}`](https://github.com/DataDog/datadog-agent/blob/8b92185df483f39456c41766b5666a2bd22307e6/pkg/trace/traceutil/otel_util.go#L367). This would result in long, difficult to read operation names in the Datadog UI - [a prior discussion on this issue can be found here](#1909). In this PR, add a feature gate `datadog.EnableOperationAndResourceNameV2`. This gate enables new logic for operation and resource name that improves readability of these fields by producing shorter names and better aligning with the OTel spec. The names computed in the new logic follow those computed in [dd-trace-go](https://github.com/DataDog/dd-trace-go). <!--Describe what testing was performed and which tests were added.--> #### Testing Unit tests and E2E tests for the new logic are done in the `datadog-agent` repo. Added a test in this repo that verifies that setting the feature gate enables the new logic; also ran the collector with the feature flag and verified new logic manually. <!--Describe the documentation added.--> #### Documentation Changelog added <!--Please delete paragraphs that you did not use before submitting.-->
Proposing to take the position of codeowner of jmxreceiver. Moving this component out of unmaintained status.
…ols (#37295) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Deprecates githubgen in favor of the new location of this code under opentelemetry-go-build-tools <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Related to #37294
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description `githubgen` was adding trailing whitespaces to unmaintained components that was unnecessary. This removes the trailing whitespaces. <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes #37292
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Implements the common queueing feature into the `awss3exporter`, as suggested [here](#36264).
Add JMX metrics gatherer version `1.43.0-alpha`. cc @open-telemetry/java-contrib-approvers
…37298) Doing in place expansion leads to hitting bash line size limits, this is a cheap improvement that makes less likely to hit cases like #37287. Tests on my fork https://github.com/pjanotti/opentelemetry-service-contrib/actions/runs/12836050460/job/35796880868
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR adds the vcenter.vm.memory.granted and vcenter.host.cpu.capacity metric. More information on this metric can be found [here](https://docs.vmware.com/en/vRealize-Operations/8.10/com.vmware.vcom.metrics.doc/GUID-41603CD6-453B-4E26-A237-34E733BAB00C.html). <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #37257 <!--Describe what testing was performed and which tests were added.--> #### Testing The metric was scraped from a test vCenter environment, and golden test files were updated to reflect the addition of the metric. <!--Describe the documentation added.--> #### Documentation Documentation was updated according to the metadata.yaml <!--Please delete paragraphs that you did not use before submitting.--> <img width="959" alt="Screenshot 2025-01-14 at 10 48 02 AM" src="https://github.com/user-attachments/assets/7c88902f-fe21-4c7d-be17-ba79a92222f3" /> <img width="919" alt="Screenshot 2025-01-15 at 11 35 31 AM" src="https://github.com/user-attachments/assets/77e19e19-93e4-410a-b501-6477c77e78da" /> Co-authored-by: Antoine Toulme <[email protected]>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description The use and/or administration of geolocation databases might involve compiling with vendors licensing, this PR adds some words into the `geoIP` processor as a reminder. <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.-->
``` internal/common/ttlmap/ttl_map.go:12:13: struct with 24 pointer bytes could be 16 internal/common/ttlmap/ttl_map.go:68:12: struct with 24 pointer bytes could be 16 ```
It doesn't appear disabling this linter is necessary anymore.
This comment says that the rule exclusions are only applying to test files, but that doesn't appear to be the case as no selection is made over file types. I offer to delete that comment as outdated.
#### Description Fixes goroutines leak by properly closing the underlying gRPC client which is only when we're using an insecure custom endpoint. Enables shutdown tests. #### Link to tracking issue Related to #30438 Co-authored-by: Kevin N. <[email protected]>
Signed-off-by: Antoine Toulme <[email protected]> Signed-off-by: Alex Boten <[email protected]> Co-authored-by: Alex Boten <[email protected]>
This is the same as was done in core in open-telemetry/opentelemetry-collector#12134 Signed-off-by: Alex Boten <[email protected]>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> Allowlists fuzzing targets
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description An immediate fix for `make oteltestbedcol`. cc @mx-psi <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes #37627 <!--Describe what testing was performed and which tests were added.--> #### Testing n/a <!--Describe the documentation added.--> #### Documentation n/a <!--Please delete paragraphs that you did not use before submitting.-->
… in readme (#37696) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description The Kafka receiver's readme is incorrect. TLS `insecure` should be `insecure_skip_verify`. See the following source code - https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/internal/kafka/authentication.go#L24 - https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/configtls/configtls.go#L100
…37489) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR adds the following VM performance metrics for vcenter. 1. `vcenter.vm.cpu.time` 2. `vcenter.vm.network.multicast.packet.rate` 3. `vcenter.vm.network.broadcast.packet.rate` More information on these metrics can be found [here](https://docs.vmware.com/en/vRealize-Operations/8.10/com.vmware.vcom.metrics.doc/GUID-41603CD6-453B-4E26-A237-34E733BAB00C.html). and also succinctly described [here](https://www.servicenow.com/docs/bundle/xanadu-it-operations-management/page/product/agent-client-collector/reference/vsphere-metrics.html) <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #37488 <!--Describe what testing was performed and which tests were added.--> #### Testing The metrics were scraped from a test vCenter environment, and golden test files were updated accordingly to reflect the addition of the metric. <!--Describe the documentation added.--> #### Documentation Documentation was updated according to the metadata.yaml <img width="1776" alt="evidence1" src="https://github.com/user-attachments/assets/662d6ff5-dda5-4e56-b124-5b401992871a" /> <img width="650" alt="Screenshot 2025-01-29 at 10 48 33 AM" src="https://github.com/user-attachments/assets/c421ed17-d718-4f78-b5d1-4b96627d7584" /> <img width="125" alt="Screenshot 2025-01-29 at 10 53 54 AM" src="https://github.com/user-attachments/assets/12317bf0-d767-4d6d-ad2f-0daf07c18555" /> <img width="933" alt="Screenshot 2025-01-29 at 10 54 11 AM" src="https://github.com/user-attachments/assets/331a31fb-0574-4465-8fc5-240be40e2684" /> Signed-off-by: Samiur Arif <[email protected]>
#### Description This PR addresses #36984 in order to open up telemetrygen to be used by golang tests and generate varying amounts of telemetry in code to support use cases which don't rely on external tools. The following major changes were made to clear the footprint for how this API can be used: 1. Moved `metrics`, `traces`, and `logs` under `pkg` instead of internal. 2. Unexported the `run` function for each test suite so the entrypoint is only the `Start` function 3. Moved config defaults from pflags into a `SetDefaults` function which is exported alongside `NewConfig` for changed packages in order for users to get the same sane defaults as if run from the command line. 4. Adjusted the pflags to use the existing default values rather than duplicate their own removing default config duplication 5. Added E2E tests for Metrics and Logs and adjusted Traces to use the new API so it stays consistent. 6. Adjusted log and metric exporter instantiation slightly due to a race condition with an `err` variable which was only caught by the new E2E tests. #### Testing Added to the E2E tests to ensure consistent API specs.
Fixes #37715 cc @dashpole @pjanotti Signed-off-by: Arthur Silva Sens <[email protected]>
Add code coverage of pod.container rule type.
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Adds fuzz tests for receiver handlers and processing of metrics, logs and traces. For receivers, the fuzz test will create an HTTP request with the fuzzers testcase as its body. For processors, the fuzzer will create random logs, metrics or traces and pass it to a routine that processes the data - for the most part either a `processLogs`/`processMetrics`/`processTraces` method or `ConsumeLogs`/`ConsumeTraces` which will then invoke the internal `process` routine. <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> --------- Signed-off-by: Adam Korczynski <[email protected]> Co-authored-by: Pablo Baeyens <[email protected]>
…ied paths and error mode overrides (#37676) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR is part of #29017, and a split from #36888. It changes the `transformprocessor`, adding support for error mode overrides per context statements group, and global `conditions` with fully qualified paths for context-inferred configuration styles. Change log: - Structured context-inferred configuration styles (without `context: <value>`) now supports and requires conditions with fully qualified paths, for example: ```yaml log_statements: - statements: - set(log.attributes["pass"], "true") conditions: - log.attributes["pass"] == nil ``` If non qualified paths are used, it raises an error, for example `- attributes["pass"] == nil` would generate the following error: ``` invalid config for "transform" processor unable to parse OTTL condition "attributes[\"pass\"] == nil": missing context name for path "attributes[pass]", possibly valid options are: "log.attributes[pass]", "instrumentation_scope.attributes[pass]", "resource.attributes[pass]" ``` Existing non-context inferred configurations shouldn't be impacted by this change. - A new configuration `error_mode` key has been added to the context statements group (`common.ContextStatements`), When provided, it overrides the top-level error mode, offering more granular control over error handling, for example: ```yaml error_mode: propagate log_statements: - context: log error_mode: ignore statements: - set(attributes["attr1"], ParseJSON(1)) - context: log statements: - set(attributes["executed"], true) ``` <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue #29017 <!--Describe what testing was performed and which tests were added.--> #### Testing Unit tests <!--Describe the documentation added.--> #### Documentation Changed the README to include the new configuration key `error_mode` <!--Please delete paragraphs that you did not use before submitting.--> --------- Co-authored-by: Evan Bradley <[email protected]>
#### Description This is a second attempt at PR #37142, see that one for context. The PR was reverted in #37173, because the result of `make tidylist` was not a pure function of the repo state. The output of the tool depends on all `go.mod` files present in the repo directory, including those that may be `.gitignored`, such as the ones generated in `cmd/otelcontribcol` and `cmd/oteltestbedcol`. Since then, I [added a `--skip` flag to the tool](open-telemetry/opentelemetry-go-build-tools#662), which allows us to make the tool ignore these problematic `go.mod` files. Automatic detection of `.gitignored` files may be desirable if some developers have other non-gitted Go modules inside their repo directory. As this would require more advanced Git integration in the tool and should be easily avoided, I've decided to keep this more manual approach. #### Link to tracking issue Resolves #37336. See previous PR for impacted issues in core. #### Testing See previous PR for initial testing. I've tried running the tool locally, with and without the generated files in `cmd/otelcontribcol`, and the output was identical, confirming that the previous issue should be fixed. --------- Co-authored-by: Pablo Baeyens <[email protected]>
…ne exits (#37733) #### Description When WAL is used the shutdown doesn't wait until the go routine launched to handle WAL terminates. This makes the shutdown non-deterministic and cause the test failure issues linked below. Although a bug on the component it doesn't seem to deserve a changelog since it was detected via tests and there is no open issue around the shutdown of the component. #### Link to tracking issue Fixes #9124, #37715 #### Testing Ran the component tests locally multiple times on Windows (more likely to surface concurrency issues). #### Documentation N/A
…37723) Signed-off-by: Bogdan Drutu <[email protected]>
…names (#37741) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR adaps the `e2e` tests to run both the old syntax as it's, and the new one by leveraging the parser collection context prepend feature, giving us some extra coverage without having to duplicate every single test. <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue #29017 <!--Please delete paragraphs that you did not use before submitting.-->
#### Description [Vulnerability scans](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13184143287/job/36802088446?pr=37749) are detecting [GO-2025-3447](https://pkg.go.dev/vuln/GO-2025-3447) in our runs. This upgrades the test environment to run 1.22.12, the fixed version.
This PR updates the go-build-tools to the latest v0.18.0 version and adjusts to the breaking changes for the githubgen tool. [Link to the go-build-tools changelog](https://github.com/open-telemetry/opentelemetry-go-build-tools/blob/main/CHANGELOG.md#v0180) --------- Signed-off-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Bogdan Drutu <[email protected]>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description One option to help with open-telemetry/opentelemetry-collector#12311. We could also fix this after making that change, but I think the checks now better reflect the intent of the test.
OnConnectionClose was never hooked up to the server's OnConnectionClose, causing the restart of the agent to never be able to reconnect. --------- Signed-off-by: Alex Boten <[email protected]>
Before (including copy of the bytes needed upstream): ``` goos: darwin goarch: arm64 pkg: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/internal/reader cpu: Apple M2 Max BenchmarkFileRead BenchmarkFileRead-12 6890 159408 ns/op 125802 B/op 132 allocs/op PASS ``` After ``` goos: darwin goarch: arm64 pkg: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/internal/reader cpu: Apple M2 Max BenchmarkFileRead BenchmarkFileRead-12 7662 154923 ns/op 121656 B/op 130 allocs/op PASS ``` Signed-off-by: Bogdan Drutu <[email protected]>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Improvements to integration test: 1. Reduced test execution time by changing the behavior from starting and shutting down the database container for each test case to starting the container **once** and then running all tests for the given engine. Gain ~22s: [Main job](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13077774968/job/36494091929): ``` DONE 47 tests, 8 skipped in 136.005s ``` [PR job](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13077857640/job/36494335331?pr=37624) ``` DONE 44 tests, 4 skipped in 114.374s ``` 2. Updated the Oracle container from [gvenzl/oracle-xe:21-slim-faststart](https://hub.docker.com/r/gvenzl/oracle-xe) to [gvenzl/oracle-free:slim-faststart](https://hub.docker.com/r/gvenzl/oracle-free), primarily to support ARM architecture. <!--Describe what testing was performed and which tests were added.--> #### Testing * Ran tests for Oracle and SQL Server locally to ensure they are not broken. Co-authored-by: Curtis Robert <[email protected]>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR fixed `make update-otel` to update `builder-config.yaml` correctly. This is the workflow we update `builder-config.yaml` files: 1. `MULTIMOD` command to update `go.mod` 2. `updatehelper` function to update `builder-config.yaml` according to the updated `go.mod` However, `make otelcontribcol/make oteltestbedcol` will overwrite the updated `go.mod` unexpectedly before step 2. This PR removes the unexpected `make otelcontribcol/make oteltestbedcol` commands. cc @mx-psi <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue n/a <!--Describe what testing was performed and which tests were added.--> #### Testing n/a <!--Describe the documentation added.--> #### Documentation n/a <!--Please delete paragraphs that you did not use before submitting.-->
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Proposing myself as a maintainer of this code. My membership has been sponsored on that purpose by @atoulme and @mx-psi open-telemetry/community#2508 ping also the current code owner @nslaughter <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes #37713 <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> Signed-off-by: Célian Garcia <[email protected]> Co-authored-by: Curtis Robert <[email protected]>
#37749) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description As component sponsor, @MovieStoreGuy [should be included as a code owner](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#adding-new-components).
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/jaegertracing/jaeger](https://redirect.github.com/jaegertracing/jaeger) | `v1.65.0` -> `v1.66.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fjaegertracing%2fjaeger/v1.66.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fjaegertracing%2fjaeger/v1.66.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fjaegertracing%2fjaeger/v1.65.0/v1.66.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fjaegertracing%2fjaeger/v1.65.0/v1.66.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>jaegertracing/jaeger (github.com/jaegertracing/jaeger)</summary> ### [`v1.66.0`](https://redirect.github.com/jaegertracing/jaeger/blob/HEAD/CHANGELOG.md#v1660--v230-2025-02-03) [Compare Source](https://redirect.github.com/jaegertracing/jaeger/compare/v1.65.0...v1.66.0) ##### ⛔ Breaking Changes - \[refactor] remove archive reader and writer from remote storage grpc handler ([@​mahadzaryab1](https://redirect.github.com/mahadzaryab1) in [#​6611](https://redirect.github.com/jaegertracing/jaeger/pull/6611)) - Delete grpc metricsqueryservice, metricsquery.proto and related code ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​6616](https://redirect.github.com/jaegertracing/jaeger/pull/6616)) - \[storage] remove distinction between primary and `archive` storage interfaces ([@​mahadzaryab1](https://redirect.github.com/mahadzaryab1) in [#​6567](https://redirect.github.com/jaegertracing/jaeger/pull/6567)) - \[v2]\[query] create archive reader/writer using regular factory methods ([@​mahadzaryab1](https://redirect.github.com/mahadzaryab1) in [#​6519](https://redirect.github.com/jaegertracing/jaeger/pull/6519)) ##### 🐞 Bug fixes, Minor Improvements - \[fix] replace deprecated address field in service::telemetry ([@​mahadzaryab1](https://redirect.github.com/mahadzaryab1) in [#​6679](https://redirect.github.com/jaegertracing/jaeger/pull/6679)) - \[fix] change metrics port in kafka ingester config to avoid conflict with collector ([@​mahadzaryab1](https://redirect.github.com/mahadzaryab1) in [#​6678](https://redirect.github.com/jaegertracing/jaeger/pull/6678)) - Update elasticsearch article link ([@​timyip3](https://redirect.github.com/timyip3) in [#​6662](https://redirect.github.com/jaegertracing/jaeger/pull/6662)) - \[chore] move scylladb implementation to `docker-compose` ([@​mahadzaryab1](https://redirect.github.com/mahadzaryab1) in [#​6652](https://redirect.github.com/jaegertracing/jaeger/pull/6652)) - \[fix] refactor archive storage initialization and remove error log ([@​mahadzaryab1](https://redirect.github.com/mahadzaryab1) in [#​6636](https://redirect.github.com/jaegertracing/jaeger/pull/6636)) - Update import paths for jaeger thrift files to use jaeger-idl ([@​Nabil-Salah](https://redirect.github.com/Nabil-Salah) in [#​6635](https://redirect.github.com/jaegertracing/jaeger/pull/6635)) - \[v2]\[query] apply "max clock skew adjust" setting ([@​dnaka91](https://redirect.github.com/dnaka91) in [#​6566](https://redirect.github.com/jaegertracing/jaeger/pull/6566)) - Alias samping.thrift and clean thrift files ([@​Nabil-Salah](https://redirect.github.com/Nabil-Salah) in [#​6630](https://redirect.github.com/jaegertracing/jaeger/pull/6630)) - Fix(hotrod): include ca certificates for hotrod dockerfile ([@​prashant-shahi](https://redirect.github.com/prashant-shahi) in [#​6627](https://redirect.github.com/jaegertracing/jaeger/pull/6627)) - Replace all imports of jaeger/thrift-gen/\* with jaeger-idl/thrift-gen/\* ([@​danish9039](https://redirect.github.com/danish9039) in [#​6621](https://redirect.github.com/jaegertracing/jaeger/pull/6621)) - Redefine thrift-gen types as aliases to jaeger-idl ([@​danish9039](https://redirect.github.com/danish9039) in [#​6619](https://redirect.github.com/jaegertracing/jaeger/pull/6619)) - Add 'features' command to print available feature gates ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​6542](https://redirect.github.com/jaegertracing/jaeger/pull/6542)) - Replace jaeger_image_tag with jaeger_version ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​6614](https://redirect.github.com/jaegertracing/jaeger/pull/6614)) - Use jeager-idl/proto-gen/api_v2 ([@​Nabil-Salah](https://redirect.github.com/Nabil-Salah) in [#​6609](https://redirect.github.com/jaegertracing/jaeger/pull/6609)) - Additional model/ cleanup ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​6610](https://redirect.github.com/jaegertracing/jaeger/pull/6610)) - Return 400 instead of 500 on incorrect otlp payload ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​6599](https://redirect.github.com/jaegertracing/jaeger/pull/6599)) - Replace model imports with jaeger-idl ([@​Nabil-Salah](https://redirect.github.com/Nabil-Salah) in [#​6595](https://redirect.github.com/jaegertracing/jaeger/pull/6595)) - Redefine model/ and api_v2/ types as aliases to jaeger-idl/ types ([@​Nabil-Salah](https://redirect.github.com/Nabil-Salah) in [#​6602](https://redirect.github.com/jaegertracing/jaeger/pull/6602)) - Add example of es/os server_urls to configs ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​6601](https://redirect.github.com/jaegertracing/jaeger/pull/6601)) - Sanitize cassandra version before use it ([@​rubenvp8510](https://redirect.github.com/rubenvp8510) in [#​6596](https://redirect.github.com/jaegertracing/jaeger/pull/6596)) - Feat: add esmapping-generator into jaeger binary ([@​Rohanraj123](https://redirect.github.com/Rohanraj123) in [#​6327](https://redirect.github.com/jaegertracing/jaeger/pull/6327)) - Add replication parameter to cassandra schema script ([@​asimchoudhary](https://redirect.github.com/asimchoudhary) in [#​6582](https://redirect.github.com/jaegertracing/jaeger/pull/6582)) - Exclude idl/ as a source of go code ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​6591](https://redirect.github.com/jaegertracing/jaeger/pull/6591)) - Change model.tootelxxxid() to accept id argument ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​6589](https://redirect.github.com/jaegertracing/jaeger/pull/6589)) - \[refactor]\[storage]\[badger]refactored the prefilling of cache to reader ([@​Manik2708](https://redirect.github.com/Manik2708) in [#​6575](https://redirect.github.com/jaegertracing/jaeger/pull/6575)) - Move span.getsamplerparams out of model/ into sampling/aggregator ([@​Nabil-Salah](https://redirect.github.com/Nabil-Salah) in [#​6583](https://redirect.github.com/jaegertracing/jaeger/pull/6583)) - Remove logger parameter in adaptive/aggregator.go ([@​Nabil-Salah](https://redirect.github.com/Nabil-Salah) in [#​6586](https://redirect.github.com/jaegertracing/jaeger/pull/6586)) - Separate model parts into more independent pieces ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​6581](https://redirect.github.com/jaegertracing/jaeger/pull/6581)) - \[storage]generate mocks for dependency writer of v2 ([@​Manik2708](https://redirect.github.com/Manik2708) in [#​6576](https://redirect.github.com/jaegertracing/jaeger/pull/6576)) - \[chore] remove unused method from grpc handler ([@​mahadzaryab1](https://redirect.github.com/mahadzaryab1) in [#​6580](https://redirect.github.com/jaegertracing/jaeger/pull/6580)) - Document usage of feature gates for breaking changes ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​6568](https://redirect.github.com/jaegertracing/jaeger/pull/6568)) - \[refactor] move sampling strategy providers to internal/sampling/samplingstrategy ([@​ary82](https://redirect.github.com/ary82) in [#​6561](https://redirect.github.com/jaegertracing/jaeger/pull/6561)) - \[v2]\[storage] implement reverse adapter to translate v2 writer to v1 ([@​mahadzaryab1](https://redirect.github.com/mahadzaryab1) in [#​6555](https://redirect.github.com/jaegertracing/jaeger/pull/6555)) - \[refactor] move sampling strategy interfaces to internal/sampling/strategy ([@​ary82](https://redirect.github.com/ary82) in [#​6547](https://redirect.github.com/jaegertracing/jaeger/pull/6547)) - Switch v1 receivers to use v2 write path ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​6532](https://redirect.github.com/jaegertracing/jaeger/pull/6532)) - \[refactor] move plugin/sampling/leaderelection to internal/leaderelection ([@​ary82](https://redirect.github.com/ary82) in [#​6546](https://redirect.github.com/jaegertracing/jaeger/pull/6546)) - \[refactor] move sampling http handler to internal/sampling/http ([@​ary82](https://redirect.github.com/ary82) in [#​6545](https://redirect.github.com/jaegertracing/jaeger/pull/6545)) - \[storage] remove dependency on archive flag in es reader ([@​mahadzaryab1](https://redirect.github.com/mahadzaryab1) in [#​6490](https://redirect.github.com/jaegertracing/jaeger/pull/6490)) - \[refactor] move sampling grpc handler to internal/sampling/grpc ([@​ary82](https://redirect.github.com/ary82) in [#​6540](https://redirect.github.com/jaegertracing/jaeger/pull/6540)) - Correct references in cmd readme.md ([@​jyoungs](https://redirect.github.com/jyoungs) in [#​6539](https://redirect.github.com/jaegertracing/jaeger/pull/6539)) - Use jaeger-v2 by default in hotrod and monitor examples ([@​zzzk1](https://redirect.github.com/zzzk1) in [#​6523](https://redirect.github.com/jaegertracing/jaeger/pull/6523)) - Pass context through span processors ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​6534](https://redirect.github.com/jaegertracing/jaeger/pull/6534)) ##### 👷 CI Improvements - Upgrade storage integration test: use v2 archive readerwriter ([@​ekefan](https://redirect.github.com/ekefan) in [#​6489](https://redirect.github.com/jaegertracing/jaeger/pull/6489)) - \[chore]\[tests] clean up integration tests to remove archive reader / writer ([@​mahadzaryab1](https://redirect.github.com/mahadzaryab1) in [#​6625](https://redirect.github.com/jaegertracing/jaeger/pull/6625)) - Bump jaeger-idl ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​6569](https://redirect.github.com/jaegertracing/jaeger/pull/6569)) - \[storage]upgraded integration tests to use dependency writer of storage_v2 ([@​Manik2708](https://redirect.github.com/Manik2708) in [#​6559](https://redirect.github.com/jaegertracing/jaeger/pull/6559)) - \[ci] fix binary-size-check workflow ([@​chahatsagarmain](https://redirect.github.com/chahatsagarmain) in [#​6552](https://redirect.github.com/jaegertracing/jaeger/pull/6552)) - \[ci] scrape and verify metrics at the end of e2e tests ([@​chahatsagarmain](https://redirect.github.com/chahatsagarmain) in [#​6330](https://redirect.github.com/jaegertracing/jaeger/pull/6330)) - \[ci] add workflow to guard against increases in the binary size ([@​chahatsagarmain](https://redirect.github.com/chahatsagarmain) in [#​6529](https://redirect.github.com/jaegertracing/jaeger/pull/6529)) ##### 📊 UI Changes ##### 🐞 Bug fixes, Minor Improvements - Remove defaultprops from minimap.tsx ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​2615](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2615)) - Remove defaultprops from scatterplot.jsx ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​2618](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2618)) - Migrate empasizednode from class based to function based component ([@​AdiIsHappy](https://redirect.github.com/AdiIsHappy) in [#​2638](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2638)) - Remove defaultprops from accordiantext.tsx ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​2612](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2612)) - Remove defaultprops from ticks.tsx ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​2617](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2617)) - Remove defaultprops from timelinerow.tsx ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​2616](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2616)) - Remove defaultprops from traceheader.jsx ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​2620](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2620)) - Remove defaultprops from accordianlogs.tsx ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​2613](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2613)) - Remove defaultprops fromt breakabletext.tsx ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​2611](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2611)) - Remove defaultprops from errormessage & newwindowicon ([@​ADI-ROXX](https://redirect.github.com/ADI-ROXX) in [#​2609](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2609)) - \[loadingindicator]: replace defaultprops with destructuring ([@​its-me-abhishek](https://redirect.github.com/its-me-abhishek) in [#​2601](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2601)) - \[fix]: disable submit button on invalid minduration or maxduration ([@​hari45678](https://redirect.github.com/hari45678) in [#​2600](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2600)) - \[deps]: remove dependency on redux-form ([@​hari45678](https://redirect.github.com/hari45678) in [#​2593](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2593)) - \[fix]: remove redux-form dependency from sort selector ([@​hari45678](https://redirect.github.com/hari45678) in [#​2569](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2569)) - \[revert]: revert redux and react-redux dependency upgrades ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​2577](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2577)) - Fix: deep clone trace data for consistency ([@​Zen-cronic](https://redirect.github.com/Zen-cronic) in [#​2571](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2571)) - \[fix]: remove redux-form dependency from monitor page ([@​hari45678](https://redirect.github.com/hari45678) in [#​2562](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2562)) - Fix tracediff graph pan and zoom issue ([@​anshgoyalevil](https://redirect.github.com/anshgoyalevil) in [#​2566](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2566)) ##### 👷 CI Improvements - Remove unused matrix from codeql workflow ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​2635](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2635)) - Rename dco->dco check ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​2633](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2633)) - Add fake dco check for merge queue events ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​2632](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2632)) - Don't run label check in merge queue ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​2631](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2631)) - Don't run codeql from merge queue ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​2630](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2630)) - Enable workflows to run in merge queue ([@​yurishkuro](https://redirect.github.com/yurishkuro) in [#​2629](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2629)) - \[ci] fix cache resolution and syntax in check binary size workflow ([@​chahatsagarmain](https://redirect.github.com/chahatsagarmain) in [#​2591](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2591)) - \[ci]: add workflow to guard against growing bundle size ([@​hari45678](https://redirect.github.com/hari45678) in [#​2586](https://redirect.github.com/jaegertracing/jaeger-ui/pull/2586)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]> Co-authored-by: Tyler Helmuth <[email protected]>
#### Description Removes the previous assert.Equal statement that was causing the test to intermittently fail. The equal assertion was intended to be removed previously with the new logic but I missed it. Will keep an eye on this because I'm surprised I couldn't get it to happen locally (whereas before adding the new logic I could consistently get it to fail 2% of the time.) #### Link to tracking issue Fixes #34983
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR adds a new gauge metric `datadog.otel.gateway`. This metric is set at `1` when the collector is used as a gateway otherwise, the value is `0`. If `datadog.host.name` was sent with two different values, then the collector is used as a gateway. Note: [The PR on opentelemetry-mapping-go](DataDog/opentelemetry-mapping-go#479) should be merged before this PR and `go.mod` must use a commit on main instead of `0.24.1-0.20250124131402-bcd6fd1617a6` Associated PRs: - DataDog/opentelemetry-mapping-go#479 - DataDog/datadog-agent#33370 <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing The following commands generates the metric `datadog.otel.gateway` at `1` ``` telemetrygen metrics --otlp-insecure --otlp-attributes "datadog.host.name"=\"host1\" telemetrygen metrics --otlp-insecure --otlp-attributes "datadog.host.name"=\"host2\" ``` Same tests were performed for `traces` and for `logs` when `isLogsAgentExporterEnabled` is false. <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> --------- Co-authored-by: Yang Song <[email protected]>
Signed-off-by: Bogdan Drutu <[email protected]>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This bash script precedes githubgen. It is now outdated and can be removed in favor of githubgen moving forward. <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes #37757
…authextension (#37334) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Adds an expiry_buffer config to the oauth2client extension, allowing token refresh before expiration. The default buffer is set to 5 m, preventing authentication failures due to token expiration. <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes #35148 <!--Describe what testing was performed and which tests were added.--> #### Testing passes tests. <!--Describe the documentation added.--> #### Documentation The README has been updated to include the expiry_buffer config option, with instructions on how to use it and its default value. <!--Please delete paragraphs that you did not use before submitting.-->
…` for the `numeric_attribute` (#37328) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR makes the `numeric_attribute` more flexible and allows to set only `min_value` or `max_value`, without the need to set both. This is useful to have simple configurations like these: ``` { type: numeric_attribute, numeric_attribute: { key: http.status_code, min_value: 400 } } ``` <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue N/A <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit tests to cover all changes and scenarios. <!--Describe the documentation added.--> #### Documentation I fixed an example on the documentation to have just the `min_value` set <!--Please delete paragraphs that you did not use before submitting.-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )